<%@ page import="pers.gs.Entity.Student" %><%--
  Created by IntelliJ IDEA.
  User: mr_fe
  Date: 2020/4/25
  Time: 23:48
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>学生信息详情</title>
</head>
<body>
    <%
        //获取request域中的数据
        Student student = (Student) request.getAttribute("student");
    %>
    <form action="UpdateStudentServlet" method="post">
        学号:<input readonly type="text" name="usno" value="<%=student.getSno()%>"><br>
        姓名:<input type="text" name="uname" value="<%=student.getName()%>"><br>
        年龄:<input type="number" name="uage" value="<%=student.getAge()%>"><br>
        性别:<input type="text" name="ugender" value="<%=student.getGender()%>"><br>
        <input type="submit" value="修改">
        <a href="QueryAllStudentServlet">返回</a>
    </form>
</body>
</html>
